package qlsl.androiddesign.activity.subactivity;

import qlsl.androiddesign.activity.baseactivity.BaseActivity;
import qlsl.androiddesign.view.baseview.FunctionView;
import qlsl.androiddesign.view.subview.activityview.RecruitDetailView;
import android.os.Bundle;

public class RecruitDetailActivity extends BaseActivity {

	private RecruitDetailView functionView;

	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		functionView = new RecruitDetailView(this);
	}

	public FunctionView<?> getFunctionView() {
		return functionView;
	}

	public void onNetWorkSucceed(String method, Object values) {
		if (method.equals("queryRecruitDetailList")) {
			functionView.showData(values);
		} else if (method.equals("read")) {
			functionView.showData(values);
		}
	}

}
